<template>
  <div >
    <el-row>
      <el-col :sm="12" :lg="6" style="margin:130px 500px;">
        <el-result icon="success" title="添加购物车完成" subTitle="请根据提示进行操作">
          <template slot="extra">
            <el-button type="primary" size="medium" @click="Back()">返回</el-button>
            <el-button type="primary" size="success" @click="shopping()">购物车</el-button>
          </template>
        </el-result>
      </el-col>
    </el-row>

  </div>

</template>

<script>
import shopping from "@/views/sys-shopping/shopping";


export default {

  methods: {
    Back(){
      this.$router.push("/sys-shopping/temp/details")
    },
    shopping(){
      this.$router.push("/sys-shopping/temp/shoppingCart")
    }
  }
}
</script>

